/**
 * 班级必修课信息接口
 */
import request from '@/utils/request'
const baseApi = '/course/edu-class-required-course'

export function listByClass(classId) {
  return request({
    url: `${baseApi}/list/byClass`,
    method: 'get',
    params: { classId }
  })
}

export function update(reqData) {
  return request({
    url: `${baseApi}/update`,
    method: 'post',
    data: reqData
  })
}
